package com.grgbanking.it.project.dao;

import java.io.Serializable;
import java.util.List;

import com.grgbanking.it.base.IBaseDao;
import com.grgbanking.it.project.entity.OperationWorkHandle;

/**
 * 
 * @author pgwei
 *
 * @param <T>
 * @param <PK>
 */
public interface IOperationWorkHandleDao<T, PK extends Serializable> extends IBaseDao<T, PK >{
	 /**
     * 获取处理的数据
     * 
     * @param workId
     * @param username
     * @param state
     * @return
     */
    public OperationWorkHandle findToHandle(Integer workId,String username,Integer...state);
    
    /**
     * 获取工作下的处理明细
     * @param workId
     * @return
     */
    public List<OperationWorkHandle> findByWorkId(Integer workId);
}